import request from '@/utils/request'

// 查询社保基本配置列表
export function listTenantsocialsecurity(query) {
  return request({
    url: '/business/tenantsocialsecurity/list',
    method: 'get',
    params: query
  })
}

// 查询社保基本配置详细
export function getTenantsocialsecurity(id) {
  return request({
    url: '/business/tenantsocialsecurity/' + id,
    method: 'get'
  })
}

// 新增社保基本配置
export function addTenantsocialsecurity(data) {
  return request({
    url: '/business/tenantsocialsecurity',
    method: 'post',
    data: data
  })
}

// 修改社保基本配置
export function updateTenantsocialsecurity(data) {
  return request({
    url: '/business/tenantsocialsecurity',
    method: 'put',
    data: data
  })
}

// 删除社保基本配置
export function delTenantsocialsecurity(id) {
  return request({
    url: '/business/tenantsocialsecurity/' + id,
    method: 'delete'
  })
}

// 导出社保基本配置
export function exportTenantsocialsecurity(query) {
  return request({
    url: '/business/tenantsocialsecurity/export',
    method: 'get',
    params: query
  })
}